package com.itheima.service;

import com.itheima.pojo.Menu;
import com.itheima.pojo.Result;

import java.util.List;

/**
 * @version V1.0
 * @author: sujiahao
 * @date: 2020/2/12 17:52
 * @description:
 */
public interface MenuService {
    List<Menu> findMenu();

    void add(Menu menu);

    void deleteById(Integer id);

    Menu queryById(Integer id);

    void updataById(Menu menu);

    Result findByRoleId(String username);

}
